package com.situ.day3;

import java.util.Scanner;

import com.situ.day11.Student;

public class Dome2 {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		System.out.println("输入数量");
		int shu = scanner.nextInt();
		StudentDome1 [] s = new StudentDome1[shu];
		for (int i = 0; i < shu; i++) {
			System.out.println("id");
			int id = scanner.nextInt();
			System.out.println("name");
			String name = scanner.next();
			System.out.println("age");
			int age = scanner.nextInt();
			System.out.println("gende");
			String gender = scanner.next();
			StudentDome1 studentDome1 = new StudentDome1(id,name,age,gender);
			
			System.out.println(studentDome1.getId());
//			s[i] = studentDome1;
//		}
//		for (int j = 0; j < s.length; j++) {
//			int i;
//			StudentDome1 student = s[i];
//			System.out.println(s.length);
//			
//		}
		}
		
	}
}


